package com.example.easypan.pojo;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 
 * @TableName share
 */
@Data
@Entity
@Table(name = "share")
public class Share implements Serializable {
    /**
     * 分享的id
     */
    @Id
    private Integer shareId;

    /**
     * 分享文件的id
     */
    private Integer fileId;

    /**
     * 文件名
     */
    private String fileName;

    /**
     * 下载路径
     */
    private String downUrl;

    /**
     * 分享链接
     */
    private String shareUrl;

    /**
     * 验证码
     */
    private String code;

    /**
     * 过期时间
     */
    private Date expirationTime;

    /**
     * 创建时间
     */
    private Date createTime;




    private static final long serialVersionUID = 1L;
}